<template>
  <div>
    <h3>1、v-model修饰符 lazy</h3>
    <el-input v-model.lazy="message"></el-input>

    <span>{{message}}</span>

    <div>
      <h3>1、v-model修饰符 number</h3>
      <el-input v-model.number="age" />
      <span>年龄：{{age}} 类型:{{typeof age}}</span>

    </div>

    <div>
      <h3>1、v-model修饰符 trim</h3>
      <el-input v-model.trim="message" />
      <span>当前内容：------------{{message}}------------</span>

    </div>

  </div>
</template>


<script>
export default {
  data () {
    return {
      message: '片言          ',
      age: '1233',

    }
  }
}
</script>


<style scoped>
</style>